module TrackChanges
  class AroundUpdate #:nodoc:
    def self.around_update(model)
      model.send(:track_changes_get_changes)
      yield
      model.send(:track_changes_save_audit)
    end
  end
end
